//
//  HelpDetailCell.m
//  智慧小区
//
//  Created by 高永杨 on 2017/3/20.
//  Copyright © 2017年 zhongchuang. All rights reserved.
//

#import "HelpDetailCell.h"

@interface HelpDetailCell ()
@property (weak, nonatomic) IBOutlet UILabel *userName;
@property (weak, nonatomic) IBOutlet UILabel *phoneNumber;

@end


@implementation HelpDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (IBAction)ReceiveAndreject:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(receiveAndrejest:)]) {
        [self.delegate receiveAndrejest:sender];
    }
}


-(void)sendDataArr:(NSDictionary *)dict
{
    self.userName.text = [NSString stringWithFormat:@"%@ 要来帮忙",dict[@"name"]];
    self.phoneNumber.text = [NSString stringWithFormat:@"电话: %@",dict[@"mobile"]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
